gdk_surface_set_type_hint
gdk_surface_get_type_hint
gdk_surface_set_shadow_width
-gdk_surface_set_skip_taskbar_hint
-gdk_surface_set_skip_pager_hint
-gdk_surface_set_urgency_hint
gdk_surface_get_position
gdk_surface_get_root_origin
gdk_surface_get_frame_extents
gtk_window_set_deletable
gtk_window_set_mnemonic_modifier
gtk_window_set_type_hint
-gtk_window_set_skip_taskbar_hint
-gtk_window_set_skip_pager_hint
-gtk_window_set_urgency_hint
gtk_window_set_accept_focus
gtk_window_set_focus_on_map
gtk_window_set_startup_id
gtk_window_get_transient_for
gtk_window_get_attached_to
gtk_window_get_type_hint
-gtk_window_get_skip_taskbar_hint
-gtk_window_get_skip_pager_hint
-gtk_window_get_urgency_hint
gtk_window_get_accept_focus
gtk_window_get_focus_on_map
gtk_window_get_group
{
}
-static void
-gdk_broadway_surface_set_skip_taskbar_hint (GdkSurface *surface,
- gboolean skips_taskbar)
-{
-}
-
-static void
-gdk_broadway_surface_set_skip_pager_hint (GdkSurface *surface,
- gboolean skips_pager)
-{
-}
-
-static void
-gdk_broadway_surface_set_urgency_hint (GdkSurface *surface,
- gboolean urgent)
-{
-}
-
static void
gdk_broadway_surface_set_geometry_hints (GdkSurface *surface,
const GdkGeometry *geometry,
impl_class->set_type_hint = gdk_broadway_surface_set_type_hint;
impl_class->get_type_hint = gdk_broadway_surface_get_type_hint;
impl_class->set_modal_hint = gdk_broadway_surface_set_modal_hint;
- impl_class->set_skip_taskbar_hint = gdk_broadway_surface_set_skip_taskbar_hint;
- impl_class->set_skip_pager_hint = gdk_broadway_surface_set_skip_pager_hint;
- impl_class->set_urgency_hint = gdk_broadway_surface_set_urgency_hint;
impl_class->set_geometry_hints = gdk_broadway_surface_set_geometry_hints;
impl_class->set_title = gdk_broadway_surface_set_title;
impl_class->set_startup_id = gdk_broadway_surface_set_startup_id;
GDK_SURFACE_IMPL_GET_CLASS (surface->impl)->set_modal_hint (surface, modal);
}
-/**
- * gdk_surface_set_skip_taskbar_hint:
- * @surface: a toplevel #GdkSurface
- * @skips_taskbar: %TRUE to skip the taskbar
- *
- * Toggles whether a surface should appear in a task list or surface
- * list. If a surface’s semantic type as specified with
- * gdk_surface_set_type_hint() already fully describes the surface, this
- * function should not be called in addition,
- * instead you should allow the surface to be treated according to
- * standard policy for its semantic type.
- **/
-void
-gdk_surface_set_skip_taskbar_hint (GdkSurface *surface,
- gboolean skips_taskbar)
-{
- GDK_SURFACE_IMPL_GET_CLASS (surface->impl)->set_skip_taskbar_hint (surface, skips_taskbar);
-}
-
-/**
- * gdk_surface_set_skip_pager_hint:
- * @surface: a toplevel #GdkSurface
- * @skips_pager: %TRUE to skip the pager
- *
- * Toggles whether a surface should appear in a pager (workspace
- * switcher, or other desktop utility program that displays a small
- * thumbnail representation of the surfaces on the desktop). If a
- * surface’s semantic type as specified with gdk_surface_set_type_hint()
- * already fully describes the surface, this function should
- * not be called in addition, instead you should
- * allow the surface to be treated according to standard policy for
- * its semantic type.
- **/
-void
-gdk_surface_set_skip_pager_hint (GdkSurface *surface,
- gboolean skips_pager)
-{
- GDK_SURFACE_IMPL_GET_CLASS (surface->impl)->set_skip_pager_hint (surface, skips_pager);
-}
-
-/**
- * gdk_surface_set_urgency_hint:
- * @surface: a toplevel #GdkSurface
- * @urgent: %TRUE if the surface is urgent
- *
- * Toggles whether a surface needs the user's
- * urgent attention.
- **/
-void
-gdk_surface_set_urgency_hint (GdkSurface *surface,
- gboolean urgent)
-{
- GDK_SURFACE_IMPL_GET_CLASS (surface->impl)->set_urgency_hint (surface, urgent);
-}
-
/**
* gdk_surface_set_geometry_hints:
* @surface: a toplevel #GdkSurface
**/
void
gdk_surface_set_transient_for (GdkSurface *surface,
- GdkSurface *parent)
+ GdkSurface *parent)
{
surface->transient_for = parent;
void gdk_surface_set_modal_hint (GdkSurface *surface,
gboolean modal);
-GDK_AVAILABLE_IN_ALL
-void gdk_surface_set_skip_taskbar_hint (GdkSurface *surface,
- gboolean skips_taskbar);
-GDK_AVAILABLE_IN_ALL
-void gdk_surface_set_skip_pager_hint (GdkSurface *surface,
- gboolean skips_pager);
-GDK_AVAILABLE_IN_ALL
-void gdk_surface_set_urgency_hint (GdkSurface *surface,
- gboolean urgent);
-
GDK_AVAILABLE_IN_ALL
void gdk_surface_set_geometry_hints (GdkSurface *surface,
const GdkGeometry *geometry,
GdkSurfaceTypeHint (* get_type_hint) (GdkSurface *surface);
void (* set_modal_hint) (GdkSurface *surface,
gboolean modal);
- void (* set_skip_taskbar_hint) (GdkSurface *surface,
- gboolean skips_taskbar);
- void (* set_skip_pager_hint) (GdkSurface *surface,
- gboolean skips_pager);
- void (* set_urgency_hint) (GdkSurface *surface,
- gboolean urgent);
void (* set_geometry_hints) (GdkSurface *surface,
const GdkGeometry *geometry,
GdkSurfaceHints geom_mask);
x, y, mask) != NULL;
}
-static void
-gdk_quartz_surface_set_urgency_hint (GdkSurface *window,
- gboolean urgent)
-{
- if (GDK_SURFACE_DESTROYED (window) ||
- !SURFACE_IS_TOPLEVEL (window))
- return;
-
- /* FIXME: Implement */
-}
-
static void
gdk_quartz_surface_set_geometry_hints (GdkSurface *window,
const GdkGeometry *geometry,
/* FIXME: Implement */
}
-static void
-gdk_quartz_surface_set_skip_taskbar_hint (GdkSurface *window,
- gboolean skips_taskbar)
-{
- if (GDK_SURFACE_DESTROYED (window) ||
- !SURFACE_IS_TOPLEVEL (window))
- return;
-
- /* FIXME: Implement */
-}
-
-static void
-gdk_quartz_surface_set_skip_pager_hint (GdkSurface *window,
- gboolean skips_pager)
-{
- if (GDK_SURFACE_DESTROYED (window) ||
- !SURFACE_IS_TOPLEVEL (window))
- return;
-
- /* FIXME: Implement */
-}
-
static void
gdk_quartz_surface_begin_resize_drag (GdkSurface *window,
GdkSurfaceEdge edge,
impl_class->set_type_hint = gdk_quartz_surface_set_type_hint;
impl_class->get_type_hint = gdk_quartz_surface_get_type_hint;
impl_class->set_modal_hint = gdk_quartz_surface_set_modal_hint;
- impl_class->set_skip_taskbar_hint = gdk_quartz_surface_set_skip_taskbar_hint;
- impl_class->set_skip_pager_hint = gdk_quartz_surface_set_skip_pager_hint;
- impl_class->set_urgency_hint = gdk_quartz_surface_set_urgency_hint;
impl_class->set_geometry_hints = gdk_quartz_surface_set_geometry_hints;
impl_class->set_title = gdk_quartz_surface_set_title;
impl_class->set_startup_id = gdk_quartz_surface_set_startup_id;
maybe_set_gtk_surface_modal (surface);
}
-static void
-gdk_wayland_surface_set_skip_taskbar_hint (GdkSurface *surface,
- gboolean skips_taskbar)
-{
-}
-
-static void
-gdk_wayland_surface_set_skip_pager_hint (GdkSurface *surface,
- gboolean skips_pager)
-{
-}
-
-static void
-gdk_wayland_surface_set_urgency_hint (GdkSurface *surface,
- gboolean urgent)
-{
-}
-
static void
gdk_wayland_surface_set_geometry_hints (GdkSurface *surface,
const GdkGeometry *geometry,
impl_class->set_type_hint = gdk_wayland_surface_set_type_hint;
impl_class->get_type_hint = gdk_wayland_surface_get_type_hint;
impl_class->set_modal_hint = gdk_wayland_surface_set_modal_hint;
- impl_class->set_skip_taskbar_hint = gdk_wayland_surface_set_skip_taskbar_hint;
- impl_class->set_skip_pager_hint = gdk_wayland_surface_set_skip_pager_hint;
- impl_class->set_urgency_hint = gdk_wayland_surface_set_urgency_hint;
impl_class->set_geometry_hints = gdk_wayland_surface_set_geometry_hints;
impl_class->set_title = gdk_wayland_surface_set_title;
impl_class->set_startup_id = gdk_wayland_surface_set_startup_id;
return;
}
-// if (!from_set_skip_taskbar_hint && window->surface_type == GDK_SURFACE_TEMP)
-// gdk_surface_set_skip_taskbar_hint (window, TRUE);
-
_gdk_win32_surface_enable_transparency (window);
frame_clock = gdk_surface_get_frame_clock (window);
}
}
-static void
+void
gdk_win32_surface_set_urgency_hint (GdkSurface *window,
- gboolean urgent)
+ gboolean urgent)
{
FLASHWINFO flashwinfo;
typedef BOOL (WINAPI *PFN_FlashWindowEx) (FLASHWINFO*);
case GDK_SURFACE_TYPE_HINT_TOOLBAR:
case GDK_SURFACE_TYPE_HINT_UTILITY:
- gdk_surface_set_skip_taskbar_hint (window, TRUE);
- gdk_surface_set_skip_pager_hint (window, TRUE);
*decoration = (GDK_DECOR_ALL | GDK_DECOR_MINIMIZE | GDK_DECOR_MAXIMIZE);
return TRUE;
#endif
}
-static void
-gdk_win32_surface_set_skip_taskbar_hint (GdkSurface *window,
- gboolean skips_taskbar)
-{
- static GdkSurface *owner = NULL;
- //GdkSurfaceAttr wa;
-
- g_return_if_fail (GDK_IS_SURFACE (window));
-
- GDK_NOTE (MISC, g_print ("gdk_surface_set_skip_taskbar_hint: %p: %s, doing nothing\n",
- GDK_SURFACE_HWND (window),
- skips_taskbar ? "YES" : "NO"));
-
- // ### TODO: Need to figure out what to do here.
- return;
-
- if (skips_taskbar)
- {
-#if 0
- if (owner == NULL)
- {
- wa.surface_type = GDK_SURFACE_TEMP;
- wa.wclass = GDK_INPUT_OUTPUT;
- wa.width = wa.height = 1;
- owner = gdk_surface_new_internal (NULL, &wa, 0, TRUE);
- }
-#endif
-
- SetWindowLongPtr (GDK_SURFACE_HWND (window), GWLP_HWNDPARENT, (LONG_PTR) GDK_SURFACE_HWND (owner));
-
-#if 0 /* Should we also turn off the minimize and maximize buttons? */
- SetWindowLong (GDK_SURFACE_HWND (window), GWL_STYLE,
- GetWindowLong (GDK_SURFACE_HWND (window), GWL_STYLE) & ~(WS_MINIMIZEBOX|WS_MAXIMIZEBOX|WS_SYSMENU));
-
- SetWindowPos (GDK_SURFACE_HWND (window), SWP_NOZORDER_SPECIFIED,
- 0, 0, 0, 0,
- SWP_FRAMECHANGED | SWP_NOACTIVATE | SWP_NOMOVE |
- SWP_NOREPOSITION | SWP_NOSIZE | SWP_NOZORDER);
-#endif
- }
- else
- {
- SetWindowLongPtr (GDK_SURFACE_HWND (window), GWLP_HWNDPARENT, 0);
- }
-}
-
-static void
-gdk_win32_surface_set_skip_pager_hint (GdkSurface *window,
- gboolean skips_pager)
-{
- g_return_if_fail (GDK_IS_SURFACE (window));
-
- GDK_NOTE (MISC, g_print ("gdk_surface_set_skip_pager_hint: %p: %s, doing nothing\n",
- GDK_SURFACE_HWND (window),
- skips_pager ? "YES" : "NO"));
-}
-
static void
gdk_win32_surface_set_type_hint (GdkSurface *window,
GdkSurfaceTypeHint hint)
impl_class->set_type_hint = gdk_win32_surface_set_type_hint;
impl_class->get_type_hint = gdk_win32_surface_get_type_hint;
impl_class->set_modal_hint = gdk_win32_surface_set_modal_hint;
- impl_class->set_skip_taskbar_hint = gdk_win32_surface_set_skip_taskbar_hint;
- impl_class->set_skip_pager_hint = gdk_win32_surface_set_skip_pager_hint;
- impl_class->set_urgency_hint = gdk_win32_surface_set_urgency_hint;
impl_class->set_geometry_hints = gdk_win32_surface_set_geometry_hints;
impl_class->set_title = gdk_win32_surface_set_title;
//impl_class->set_startup_id = gdk_x11_surface_set_startup_id;
GDK_AVAILABLE_IN_ALL
GType gdk_win32_surface_get_type (void);
+GDK_AVAILABLE_IN_ALL
+void gdk_win32_surface_set_urgency_hint (GdkSurface *surface,
+ gboolean urgent);
+
G_END_DECLS
#endif /* __GDK_X11_SURFACE_H__ */
NULL);
}
-static void
+void
gdk_x11_surface_set_skip_taskbar_hint (GdkSurface *surface,
- gboolean skips_taskbar)
+ gboolean skips_taskbar)
{
GdkToplevelX11 *toplevel;
NULL);
}
-static void
+void
gdk_x11_surface_set_skip_pager_hint (GdkSurface *surface,
- gboolean skips_pager)
+ gboolean skips_pager)
{
GdkToplevelX11 *toplevel;
NULL);
}
-static void
+void
gdk_x11_surface_set_urgency_hint (GdkSurface *surface,
- gboolean urgent)
+ gboolean urgent)
{
GdkToplevelX11 *toplevel;
impl_class->set_type_hint = gdk_x11_surface_set_type_hint;
impl_class->get_type_hint = gdk_x11_surface_get_type_hint;
impl_class->set_modal_hint = gdk_x11_surface_set_modal_hint;
- impl_class->set_skip_taskbar_hint = gdk_x11_surface_set_skip_taskbar_hint;
- impl_class->set_skip_pager_hint = gdk_x11_surface_set_skip_pager_hint;
- impl_class->set_urgency_hint = gdk_x11_surface_set_urgency_hint;
impl_class->set_geometry_hints = gdk_x11_surface_set_geometry_hints;
impl_class->set_title = gdk_x11_surface_set_title;
impl_class->set_startup_id = gdk_x11_surface_set_startup_id;
GdkSurface *gdk_x11_surface_lookup_for_display (GdkDisplay *display,
Window window);
+GDK_AVAILABLE_IN_ALL
+void gdk_x11_surface_set_skip_taskbar_hint (GdkSurface *surface,
+ gboolean skips_taskbar);
+GDK_AVAILABLE_IN_ALL
+void gdk_x11_surface_set_skip_pager_hint (GdkSurface *surface,
+ gboolean skips_pager);
+GDK_AVAILABLE_IN_ALL
+void gdk_x11_surface_set_urgency_hint (GdkSurface *surface,
+ gboolean urgent);
+
G_END_DECLS
#endif /* __GDK_X11_SURFACE_H__ */
* convenience widget; you could construct the equivalent of #GtkMessageDialog
* from #GtkDialog without too much effort, but #GtkMessageDialog saves typing.
*
- * One difference from #GtkDialog is that #GtkMessageDialog sets the
- * #GtkWindow:skip-taskbar-hint property to %TRUE, so that the dialog is hidden
- * from the taskbar by default.
- *
* The easiest way to do a modal message dialog is to use gtk_dialog_run(), though
* you can also pass in the %GTK_DIALOG_MODAL flag, gtk_dialog_run() automatically
* makes the dialog modal and waits for the user to respond to it. gtk_dialog_run()
guint modal : 1;
guint position : 3;
guint resizable : 1;
- guint skips_pager : 1;
- guint skips_taskbar : 1;
guint stick_initially : 1;
guint transient_parent_group : 1;
guint type : 4; /* GtkWindowType */
- guint urgent : 1;
guint gravity : 5; /* GdkGravity */
guint csd_requested : 1;
guint client_decorated : 1; /* Decorations drawn client-side */
PROP_ICON_NAME,
PROP_DISPLAY,
PROP_TYPE_HINT,
- PROP_SKIP_TASKBAR_HINT,
- PROP_SKIP_PAGER_HINT,
- PROP_URGENCY_HINT,
PROP_ACCEPT_FOCUS,
PROP_FOCUS_ON_MAP,
PROP_DECORATED,
GDK_SURFACE_TYPE_HINT_NORMAL,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
- window_props[PROP_SKIP_TASKBAR_HINT] =
- g_param_spec_boolean ("skip-taskbar-hint",
- P_("Skip taskbar"),
- P_("TRUE if the window should not be in the task bar."),
- FALSE,
- GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
-
- window_props[PROP_SKIP_PAGER_HINT] =
- g_param_spec_boolean ("skip-pager-hint",
- P_("Skip pager"),
- P_("TRUE if the window should not be in the pager."),
- FALSE,
- GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
-
- window_props[PROP_URGENCY_HINT] =
- g_param_spec_boolean ("urgency-hint",
- P_("Urgent"),
- P_("TRUE if the window should be brought to the user’s attention."),
- FALSE,
- GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
-
/**
* GtkWindow:accept-focus:
*
gtk_window_set_type_hint (window,
g_value_get_enum (value));
break;
- case PROP_SKIP_TASKBAR_HINT:
- gtk_window_set_skip_taskbar_hint (window,
- g_value_get_boolean (value));
- break;
- case PROP_SKIP_PAGER_HINT:
- gtk_window_set_skip_pager_hint (window,
- g_value_get_boolean (value));
- break;
- case PROP_URGENCY_HINT:
- gtk_window_set_urgency_hint (window,
- g_value_get_boolean (value));
- break;
case PROP_ACCEPT_FOCUS:
gtk_window_set_accept_focus (window,
g_value_get_boolean (value));
case PROP_TYPE_HINT:
g_value_set_enum (value, priv->type_hint);
break;
- case PROP_SKIP_TASKBAR_HINT:
- g_value_set_boolean (value,
- gtk_window_get_skip_taskbar_hint (window));
- break;
- case PROP_SKIP_PAGER_HINT:
- g_value_set_boolean (value,
- gtk_window_get_skip_pager_hint (window));
- break;
- case PROP_URGENCY_HINT:
- g_value_set_boolean (value,
- gtk_window_get_urgency_hint (window));
- break;
case PROP_ACCEPT_FOCUS:
g_value_set_boolean (value,
gtk_window_get_accept_focus (window));
return priv->type_hint;
}
-/**
- * gtk_window_set_skip_taskbar_hint:
- * @window: a #GtkWindow
- * @setting: %TRUE to keep this window from appearing in the task bar
- *
- * Windows may set a hint asking the desktop environment not to display
- * the window in the task bar. This function sets this hint.
- **/
-void
-gtk_window_set_skip_taskbar_hint (GtkWindow *window,
- gboolean setting)
-{
- GtkWindowPrivate *priv = gtk_window_get_instance_private (window);
-
- g_return_if_fail (GTK_IS_WINDOW (window));
-
- setting = setting != FALSE;
-
- if (priv->skips_taskbar != setting)
- {
- priv->skips_taskbar = setting;
- if (_gtk_widget_get_realized (GTK_WIDGET (window)))
- gdk_surface_set_skip_taskbar_hint (_gtk_widget_get_surface (GTK_WIDGET (window)),
- priv->skips_taskbar);
- g_object_notify_by_pspec (G_OBJECT (window), window_props[PROP_SKIP_TASKBAR_HINT]);
- }
-}
-
-/**
- * gtk_window_get_skip_taskbar_hint:
- * @window: a #GtkWindow
- *
- * Gets the value set by gtk_window_set_skip_taskbar_hint()
- *
- * Returns: %TRUE if window shouldn’t be in taskbar
- **/
-gboolean
-gtk_window_get_skip_taskbar_hint (GtkWindow *window)
-{
- GtkWindowPrivate *priv = gtk_window_get_instance_private (window);
-
- g_return_val_if_fail (GTK_IS_WINDOW (window), FALSE);
-
- return priv->skips_taskbar;
-}
-
-/**
- * gtk_window_set_skip_pager_hint:
- * @window: a #GtkWindow
- * @setting: %TRUE to keep this window from appearing in the pager
- *
- * Windows may set a hint asking the desktop environment not to display
- * the window in the pager. This function sets this hint.
- * (A "pager" is any desktop navigation tool such as a workspace
- * switcher that displays a thumbnail representation of the windows
- * on the screen.)
- **/
-void
-gtk_window_set_skip_pager_hint (GtkWindow *window,
- gboolean setting)
-{
- GtkWindowPrivate *priv = gtk_window_get_instance_private (window);
-
- g_return_if_fail (GTK_IS_WINDOW (window));
-
- setting = setting != FALSE;
-
- if (priv->skips_pager != setting)
- {
- priv->skips_pager = setting;
- if (_gtk_widget_get_realized (GTK_WIDGET (window)))
- gdk_surface_set_skip_pager_hint (_gtk_widget_get_surface (GTK_WIDGET (window)),
- priv->skips_pager);
- g_object_notify_by_pspec (G_OBJECT (window), window_props[PROP_SKIP_PAGER_HINT]);
- }
-}
-
-/**
- * gtk_window_get_skip_pager_hint:
- * @window: a #GtkWindow
- *
- * Gets the value set by gtk_window_set_skip_pager_hint().
- *
- * Returns: %TRUE if window shouldn’t be in pager
- **/
-gboolean
-gtk_window_get_skip_pager_hint (GtkWindow *window)
-{
- GtkWindowPrivate *priv = gtk_window_get_instance_private (window);
-
- g_return_val_if_fail (GTK_IS_WINDOW (window), FALSE);
-
- return priv->skips_pager;
-}
-
-/**
- * gtk_window_set_urgency_hint:
- * @window: a #GtkWindow
- * @setting: %TRUE to mark this window as urgent
- *
- * Windows may set a hint asking the desktop environment to draw
- * the users attention to the window. This function sets this hint.
- **/
-void
-gtk_window_set_urgency_hint (GtkWindow *window,
- gboolean setting)
-{
- GtkWindowPrivate *priv = gtk_window_get_instance_private (window);
-
- g_return_if_fail (GTK_IS_WINDOW (window));
-
- setting = setting != FALSE;
-
- if (priv->urgent != setting)
- {
- priv->urgent = setting;
- if (_gtk_widget_get_realized (GTK_WIDGET (window)))
- gdk_surface_set_urgency_hint (_gtk_widget_get_surface (GTK_WIDGET (window)),
- priv->urgent);
- g_object_notify_by_pspec (G_OBJECT (window), window_props[PROP_URGENCY_HINT]);
- }
-}
-
-/**
- * gtk_window_get_urgency_hint:
- * @window: a #GtkWindow
- *
- * Gets the value set by gtk_window_set_urgency_hint()
- *
- * Returns: %TRUE if window is urgent
- **/
-gboolean
-gtk_window_get_urgency_hint (GtkWindow *window)
-{
- GtkWindowPrivate *priv = gtk_window_get_instance_private (window);
-
- g_return_val_if_fail (GTK_IS_WINDOW (window), FALSE);
-
- return priv->urgent;
-}
-
/**
* gtk_window_set_accept_focus:
* @window: a #GtkWindow
if (!priv->deletable)
gdk_surface_set_functions (surface, GDK_FUNC_ALL | GDK_FUNC_CLOSE);
- if (gtk_window_get_skip_pager_hint (window))
- gdk_surface_set_skip_pager_hint (surface, TRUE);
-
- if (gtk_window_get_skip_taskbar_hint (window))
- gdk_surface_set_skip_taskbar_hint (surface, TRUE);
-
if (gtk_window_get_accept_focus (window))
gdk_surface_set_accept_focus (surface, TRUE);
else
<property name="title"></property>
<property name="resizable">0</property>
<property name="type-hint">dialog</property>
- <property name="skip-taskbar-hint">1</property>
<child internal-child="headerbar">
<object class="GtkHeaderBar" id="headerbar1"/>
</child>